package com.ljf.authority.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.io.Serializable;

/**
 * 页面方法  authority_base_menu_page_method  模式  mode  枚举
 *
 * @author LJF
 * @since 2024-11-22
 */
@Getter
@AllArgsConstructor
public enum AuthorityBaseMenuPageMethodModeEnum implements Serializable {

    INIT_EXEC(1, "初始化执行"),
    DESTRUCTION_EXEC(2, "退出执行");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

}
